<ui:composition
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:c="http://java.sun.com/jstl/core"
    xmlns:jopcc="http://net.sf.jOpinionPoll/tag/component/core"
    xmlns:rich="http://richfaces.ajax4jsf.org/rich">

    <c:if test="${!empty facesContext.maximumSeverity}">
        <!-- titulo -->
        <jopcc:simpleTitle text="#{msg['comum.mensagem']}" styleClass="boxTituloErro" lineStyleClass="boxTituloErroLine" />
        <h:messages globalOnly="false" showDetail="true" showSummary="false" styleClass="textoErro"/>
    </c:if>   
</ui:composition>